﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MeiRiCai.Sdk
{
	/// <summary>
	/// Sdk配置
	/// </summary>
	public class SdkConfig
	{
		static SdkConfig()
		{
			BaseAddress = "http://api.meiricai.com";
		}

		/// <summary>
		/// 基地址
		/// </summary>
		public static string BaseAddress { get; set; }

		/// <summary>
		/// 将文件路径与基础地址进行合并
		/// </summary>
		/// <param name="path">文件路径</param>
		/// <returns></returns>
		public static string CombineUrl(string path)
		{
			return BaseAddress + path;
		}
	}
}
